home *** CD-ROM | disk | FTP | other *** search
/ 3D Images / 3D Images.iso / programs / amiga / rayshade / libshade / defaults.h < prev    next >
C/C++ Source or Header  |  1995-01-12  |  2KB  |  63 lines

  1. /*
  2.  * defaults.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * defaults.h,v 4.1 1994/08/09 08:04:24 explorer Exp
  17.  *
  18.  * defaults.h,v
  19.  * Revision 4.1  1994/08/09  08:04:24  explorer
  20.  * Bump version to 4.1
  21.  *
  22.  * Revision 1.1.1.1  1994/08/08  04:52:16  explorer
  23.  * Initial import.  This is a prerelease of 4.0.6enh3, or 4.1 possibly.
  24.  *
  25.  * Revision 4.0  91/07/17  14:45:18  kolb
  26.  * Initial version.
  27.  * 
  28.  */
  29. #ifndef DEFAULTS_H
  30. #define DEFAULTS_H
  31.  
  32. #define DEFSAMPLES    3    /* sqrt of number of samples */
  33.  
  34. #define XRESOLUTION    512        /* Default screen size (pixels) */
  35. #define YRESOLUTION    512
  36. #define DEFCUTOFF    0.002        /* Default tree cutoff value */
  37. #define MAXDEPTH    5        /* Maximum ray tree depth. */
  38. #define HFOV        45        /* Field-of-view */
  39. #define EYEX        0        /* Eye position */
  40. #define EYEY        -10
  41. #define EYEZ        0
  42. #define LOOKX        0        /* Look point */
  43. #define LOOKY        0
  44. #define LOOKZ        0
  45. #define UPX        0        /* Up vector */
  46. #define UPY        0
  47. #define UPZ        1
  48. #define GAMMA        1.        /* Default gamma */
  49. #define GAUSSIAN    FALSE        /* Use gaussian pixel filter? */
  50. #define FILTERWIDTH    1.8        /* Default gaussian filter width */
  51.  
  52. #if defined(LINDA) && !defined(WORKERS)
  53. #define WORKERS        4        /* Default # of workers. */
  54. #endif
  55.  
  56. #define REPORTFREQ    10        /* Frequency of status report */
  57.  
  58. #define DEFREDCONT    0.2        /* Default contrast threshold values. */
  59. #define DEFGREENCONT    0.15
  60. #define DEFBLUECONT    0.3
  61.  
  62. #endif /* DEFAULTS_H */
  63.